package com.sg.service.biz.app.nb;

import cn.hutool.core.bean.BeanUtil;
import com.sg.dto.biz.app.req.ImplementEightReceivingFieldReqDto;
import com.sg.dto.biz.app.req.ImplementElevenReceivingFieldReqDto;
import com.sg.dto.biz.app.res.ImplementEightReceivingFieldRespDto;
import com.sg.dto.biz.app.res.ImplementElevenReceivingFieldRespDto;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

/**
 * @author ： 手工接入方法
 * @version 1.0
 * @since 2022/5/28 15:32
 */
@Service
public class NbDashboradStandardData {
    /**
     * code:receptionService
     * name:M3接收入参字段
     * desc:undefined
     * gen by moon at 5/7/2024, 6:23:00 PM
     **/
    @Trace(operationName = "M3接收入参字段")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementEightReceivingFieldRespDto implementEightReceivingField(ImplementEightReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementEightReceivingFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M3接收统计指标数出参
     * desc:undefined
     * gen by moon at 5/13/2024, 1:05:11 PM
     **/
    @Trace(operationName = "M3接收统计指标数出参")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementFiveReceivingFieldRespDto implementFiveReceivingField(ImplementFiveReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementFiveReceivingFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M2接收更新周期类型列表出参
     * desc:undefined
     * gen by moon at 5/21/2024, 2:24:49 AM
     **/
    @Trace(operationName = "M2接收更新周期类型列表出参")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementTenReceivingFieldRespDto implementTenReceivingField(ImplementTenReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementTenReceivingFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M3接收更新周期类型列表出参
     * desc:undefined
     * gen by moon at 5/21/2024, 10:42:31 AM
     **/
    @Trace(operationName = "M3接收更新周期类型列表出参")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementElevenReceivingFieldRespDto implementElevenReceivingField(ImplementElevenReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementElevenReceivingFieldRespDto.class);
    }
    //手工接入方法
}
